//package com.xu.demo.adapterPattern;
//
//public class ClassAdapter2 implements Target {
//
//    private Adaptee adaptee;
//
//    public ClassAdapter2(Adaptee adaptee) {
//        this.adaptee = adaptee;
//    }
//
//    @Override
//    public void tripleCharge() {
//        adaptee.doubleCharge(); //将三孔插座转换为两孔
//    }
//}